import request from '@/utils'

//获取所有歌曲 传入参数 id-歌曲id limit-限制数量  offset-分页
export const getSheetListAll = params=>request({
    url:'/playlist/track/all',
    params
});
// 获取用户歌单  uid 用户id
export const getUserSheet = params =>request({
    url:'/user/playlist',
    params
});
//获取歌单详情 id 歌单id
export const getSheetList = params =>request({
    url:'/playlist/detail',
    params
});
//获取歌单收藏者 id 歌单id  limit 数量
export const getSheetStar = params =>request({
    url:'/playlist/subscribers',
    params
});
//获取歌单评论 id 歌单id  limit 数量 offset-分页
export const getSheetcomment = params =>request({
    url:'/comment/playlist',
    params
});